package jzqb.bo;

import jzqb.po.NoticePo;
import lombok.Data;

/**
 * Description:
 *
 * @author BaiGe
 * @date: 2021/4/8 13:40
 * @Version 1.0
 */
@Data
public class NoticeBo extends NoticePo {
    //搜索选项
    private String  searchType;
    //搜索内容
    private String  searchValue;
    //起始时间
    private String  startTime;
    //结束时间
    private String  endTime;
    //当前页码
    private Integer  page;
    //每页显示条数
    private Integer  pageSize;
    //分页起始下标
    private Integer  start;
    //用户ID
    private String  userId;
    //目标部门belongTo sql
    private String  belongToTargetDept;

    public void setStart(Integer page, Integer pageSize) {
        this.start = (page-1)*pageSize;
    }
}
